package com.hsmw.schedule.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsmw.domain.HsmwComplain;
import com.hsmw.domain.HsmwConcretePlantInfo;
import com.hsmw.domain.HsmwForcemanAddress;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
public class ItemDetailInfoVO {


    @ApiModelProperty(value = "项目Id")
    private String itemId;

    @ApiModelProperty(value = "施工单位名字")
    private String constructionUnitName;


    @ApiModelProperty(value = "项目名称")
    private String itemName;


    @ApiModelProperty(value = "结算单价")
    private String settlementPrice;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "施工结束时间")
    private LocalDate endTime;


    @ApiModelProperty(value = "是否混天凝叫车 0  是否 1 是")
    private String ifSelfChoose;

    @ApiModelProperty(value = "负责人ID")
    private String createUser;

    @ApiModelProperty(value = "负责人名称")
    private String createName;

    @ApiModelProperty(value = "负责人电话")
    private String createUserPhone;


    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "工长数量")
    @TableField(exist = false)
    private long forcemanCount;

    @ApiModelProperty("累计方量")
    @TableField(exist = false)
    private String volumeSum;

    @ApiModelProperty(value = "订单数量")
    @TableField(exist = false)
    private long orderCount;



    @ApiModelProperty(value = "投诉数量")
    @TableField(exist = false)
    private long complainCount;


    @ApiModelProperty(value = "项目位置名称")
    private String position;

    @ApiModelProperty(value = "项目位置详情")
    private String positionDetail;

    @ApiModelProperty(value = "指定车辆单位ID")
    private String vehicleUnitId;


    @ApiModelProperty(value = "指定车辆单位名称")
    private String vehicleUnitName;

    @ApiModelProperty(value = "经度")
    private String lng;

    @ApiModelProperty(value = "纬度")
    private String lat;


    @ApiModelProperty(value = "作业位置列表")
    private List<HsmwForcemanAddress> itemAddressList;

    @ApiModelProperty(value = "工长信息列表")
    private List<ForemanInfoDTO> foremanInfoDTOS;


    @ApiModelProperty(value = "搅拌站列表")
    private List<HsmwConcretePlantInfo> concretePlantInfos;


    @ApiModelProperty(value = "投诉列表")
    private List<HsmwComplain> complains;





}
